.NET Framework Class Library |
BlockingCollection<(Of <(T>)>)..::.TryAdd Method |
BlockingCollection<(Of <(T>)>) Class See Also Send Feedback |
Overload List
Name | Description | |
---|---|---|
TryAdd(T) |
Attempts to add the specified item to the BlockingCollection<(Of <(T>)>).
| |
TryAdd(T, Int32) |
Attempts to add the specified item to the BlockingCollection<(Of <(T>)>).
| |
TryAdd(T, TimeSpan) |
Attempts to add the specified item to the BlockingCollection<(Of <(T>)>).
| |
TryAdd(T, Int32, CancellationToken) |
Attempts to add the specified item to the BlockingCollection<(Of <(T>)>).
A OperationCanceledException is thrown if the CancellationToken is
canceled.
|